package com.example.demo.controller;

import com.example.demo.enums.MessageKey;
import com.example.demo.utils.MessageUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 *
 * @author : laughing
 * DateTime: 2021-06-25 17:20
 */
@RestController
public class MessageController {

    @GetMapping("message")
    public String message(){
        return MessageUtils.getMessage(MessageKey.LOGIN_PASSWORD);
    }

}
